package cn.ac.iscas.domain.response;

import com.iscas.datasong.lib.common.Status;

import java.io.Serializable;

/**
 * @program: SatelliteRocketProducer
 * @description:
 * @author: LiangJian
 * @create: 2019-04-16 15:51
 **/
public class Response implements Serializable {
    /**
     * 处理结果状态
     */
    protected int status = Status.OK.getValue();

    /**
     * 失败后，相关的失败信息描述
     */
    protected String info;

    public Object data;

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getInfo() {
        return info;
    }

    public void setInfo(String info) {
        this.info = info;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }
}
